package cj.web.kly.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

import cj.web.admin.domain.DataTablePage;

/**
 * 内容管理
 */
public class SubjectNews extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 725905111720076969L;
	protected Integer id;
	protected Integer type;
	protected String typeName;
	protected Integer columnsId;
	protected String treeIdIn;
	protected String columnsName;
	protected Integer subjectId;
	protected String subjectName;
	protected Integer subjectColumnsId;
	protected String subjectColumnsName;
	protected String title;
	protected String abstractInfor;
	protected String carouselImage;
	protected String content;
	protected String source;
	protected String author;
	protected Integer status;
	protected Integer releaseState;
	protected String releaseStateName;
	protected String releaseAt;
	protected Integer isTop;
	protected String stickAt;
	protected Integer pvNum;
	protected Integer pvNumFinal;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAt;
	protected String updateUser;
	protected String updateAt;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public Integer getColumnsId() {
		return columnsId;
	}
	public void setColumnsId(Integer columnsId) {
		this.columnsId = columnsId;
	}
	public String getTreeIdIn() {
		return treeIdIn;
	}
	public void setTreeIdIn(String treeIdIn) {
		this.treeIdIn = treeIdIn;
	}
	public String getColumnsName() {
		return columnsName;
	}
	public void setColumnsName(String columnsName) {
		this.columnsName = columnsName;
	}
	public Integer getSubjectId() {
		return subjectId;
	}
	public void setSubjectId(Integer subjectId) {
		this.subjectId = subjectId;
	}
	public String getSubjectName() {
		return subjectName;
	}
	public void setSubjectName(String subjectName) {
		this.subjectName = subjectName;
	}
	public Integer getSubjectColumnsId() {
		return subjectColumnsId;
	}
	public void setSubjectColumnsId(Integer subjectColumnsId) {
		this.subjectColumnsId = subjectColumnsId;
	}
	public String getSubjectColumnsName() {
		return subjectColumnsName;
	}
	public void setSubjectColumnsName(String subjectColumnsName) {
		this.subjectColumnsName = subjectColumnsName;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAbstractInfor() {
		return abstractInfor;
	}
	public void setAbstractInfor(String abstractInfor) {
		this.abstractInfor = abstractInfor;
	}
	public String getCarouselImage() {
		return carouselImage;
	}
	public void setCarouselImage(String carouselImage) {
		this.carouselImage = carouselImage;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getReleaseState() {
		return releaseState;
	}
	public void setReleaseState(Integer releaseState) {
		this.releaseState = releaseState;
	}
	public String getReleaseStateName() {
		return releaseStateName;
	}
	public void setReleaseStateName(String releaseStateName) {
		this.releaseStateName = releaseStateName;
	}
	public String getReleaseAt() {
		return releaseAt;
	}
	public void setReleaseAt(String releaseAt) {
		this.releaseAt = releaseAt;
	}
	public Integer getIsTop() {
		return isTop;
	}
	public void setIsTop(Integer isTop) {
		this.isTop = isTop;
	}
	public String getStickAt() {
		return stickAt;
	}
	public void setStickAt(String stickAt) {
		this.stickAt = stickAt;
	}
	public Integer getPvNum() {
		return pvNum;
	}
	public void setPvNum(Integer pvNum) {
		this.pvNum = pvNum;
	}
	public Integer getPvNumFinal() {
		return pvNumFinal;
	}
	public void setPvNumFinal(Integer pvNumFinal) {
		this.pvNumFinal = pvNumFinal;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAt() {
		return createAt;
	}
	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAt() {
		return updateAt;
	}
	public void setUpdateAt(String updateAt) {
		this.updateAt = updateAt;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((abstractInfor == null) ? 0 : abstractInfor.hashCode());
		result = prime * result + ((author == null) ? 0 : author.hashCode());
		result = prime * result
				+ ((carouselImage == null) ? 0 : carouselImage.hashCode());
		result = prime * result
				+ ((columnsId == null) ? 0 : columnsId.hashCode());
		result = prime * result
				+ ((columnsName == null) ? 0 : columnsName.hashCode());
		result = prime * result + ((content == null) ? 0 : content.hashCode());
		result = prime * result
				+ ((createAt == null) ? 0 : createAt.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result + ((isTop == null) ? 0 : isTop.hashCode());
		result = prime * result + ((pvNum == null) ? 0 : pvNum.hashCode());
		result = prime * result
				+ ((pvNumFinal == null) ? 0 : pvNumFinal.hashCode());
		result = prime * result
				+ ((releaseAt == null) ? 0 : releaseAt.hashCode());
		result = prime * result
				+ ((releaseState == null) ? 0 : releaseState.hashCode());
		result = prime
				* result
				+ ((releaseStateName == null) ? 0 : releaseStateName.hashCode());
		result = prime * result + ((source == null) ? 0 : source.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((stickAt == null) ? 0 : stickAt.hashCode());
		result = prime
				* result
				+ ((subjectColumnsId == null) ? 0 : subjectColumnsId.hashCode());
		result = prime
				* result
				+ ((subjectColumnsName == null) ? 0 : subjectColumnsName
						.hashCode());
		result = prime * result
				+ ((subjectId == null) ? 0 : subjectId.hashCode());
		result = prime * result
				+ ((subjectName == null) ? 0 : subjectName.hashCode());
		result = prime * result + ((title == null) ? 0 : title.hashCode());
		result = prime * result
				+ ((treeIdIn == null) ? 0 : treeIdIn.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result
				+ ((typeName == null) ? 0 : typeName.hashCode());
		result = prime * result
				+ ((updateAt == null) ? 0 : updateAt.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		SubjectNews other = (SubjectNews) obj;
		if (abstractInfor == null) {
			if (other.abstractInfor != null)
				return false;
		} else if (!abstractInfor.equals(other.abstractInfor))
			return false;
		if (author == null) {
			if (other.author != null)
				return false;
		} else if (!author.equals(other.author))
			return false;
		if (carouselImage == null) {
			if (other.carouselImage != null)
				return false;
		} else if (!carouselImage.equals(other.carouselImage))
			return false;
		if (columnsId == null) {
			if (other.columnsId != null)
				return false;
		} else if (!columnsId.equals(other.columnsId))
			return false;
		if (columnsName == null) {
			if (other.columnsName != null)
				return false;
		} else if (!columnsName.equals(other.columnsName))
			return false;
		if (content == null) {
			if (other.content != null)
				return false;
		} else if (!content.equals(other.content))
			return false;
		if (createAt == null) {
			if (other.createAt != null)
				return false;
		} else if (!createAt.equals(other.createAt))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (isTop == null) {
			if (other.isTop != null)
				return false;
		} else if (!isTop.equals(other.isTop))
			return false;
		if (pvNum == null) {
			if (other.pvNum != null)
				return false;
		} else if (!pvNum.equals(other.pvNum))
			return false;
		if (pvNumFinal == null) {
			if (other.pvNumFinal != null)
				return false;
		} else if (!pvNumFinal.equals(other.pvNumFinal))
			return false;
		if (releaseAt == null) {
			if (other.releaseAt != null)
				return false;
		} else if (!releaseAt.equals(other.releaseAt))
			return false;
		if (releaseState == null) {
			if (other.releaseState != null)
				return false;
		} else if (!releaseState.equals(other.releaseState))
			return false;
		if (releaseStateName == null) {
			if (other.releaseStateName != null)
				return false;
		} else if (!releaseStateName.equals(other.releaseStateName))
			return false;
		if (source == null) {
			if (other.source != null)
				return false;
		} else if (!source.equals(other.source))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (stickAt == null) {
			if (other.stickAt != null)
				return false;
		} else if (!stickAt.equals(other.stickAt))
			return false;
		if (subjectColumnsId == null) {
			if (other.subjectColumnsId != null)
				return false;
		} else if (!subjectColumnsId.equals(other.subjectColumnsId))
			return false;
		if (subjectColumnsName == null) {
			if (other.subjectColumnsName != null)
				return false;
		} else if (!subjectColumnsName.equals(other.subjectColumnsName))
			return false;
		if (subjectId == null) {
			if (other.subjectId != null)
				return false;
		} else if (!subjectId.equals(other.subjectId))
			return false;
		if (subjectName == null) {
			if (other.subjectName != null)
				return false;
		} else if (!subjectName.equals(other.subjectName))
			return false;
		if (title == null) {
			if (other.title != null)
				return false;
		} else if (!title.equals(other.title))
			return false;
		if (treeIdIn == null) {
			if (other.treeIdIn != null)
				return false;
		} else if (!treeIdIn.equals(other.treeIdIn))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (typeName == null) {
			if (other.typeName != null)
				return false;
		} else if (!typeName.equals(other.typeName))
			return false;
		if (updateAt == null) {
			if (other.updateAt != null)
				return false;
		} else if (!updateAt.equals(other.updateAt))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "News [id=" + id + ", type=" + type + ", typeName=" + typeName
				+ ", columnsId=" + columnsId + ", treeIdIn=" + treeIdIn
				+ ", columnsName=" + columnsName + ", subjectId=" + subjectId
				+ ", subjectName=" + subjectName + ", subjectColumnsId="
				+ subjectColumnsId + ", subjectColumnsName="
				+ subjectColumnsName + ", title=" + title + ", abstractInfor="
				+ abstractInfor + ", carouselImage=" + carouselImage
				+ ", content=" + content + ", source=" + source + ", author="
				+ author + ", status=" + status + ", releaseState="
				+ releaseState + ", releaseStateName=" + releaseStateName
				+ ", releaseAt=" + releaseAt + ", isTop=" + isTop
				+ ", stickAt=" + stickAt + ", pvNum=" + pvNum + ", pvNumFinal="
				+ pvNumFinal + ", deleteFlag=" + deleteFlag + ", createUser="
				+ createUser + ", createAt=" + createAt + ", updateUser="
				+ updateUser + ", updateAt=" + updateAt + "]";
	}
}